package com.mf.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * 计算汇总
 *
 * @author mf
 * @since 2024-06-16
 */
@Getter
@ToString
@Setter
@TableName("t_calculation_summary")

public class CalculationSummary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 当前计算年
     */
    private String year;


    /**
     * 总月数
     */
    private int monthTotal;

    /**
     * 盈利月数
     */
    private int monthProfitableCount;

    /**
     * 亏损月数
     */
    private int monthFailCount;

    /**
     * 总天数
     */
    private int dayTotal;

    /**
     * 总盈利天数
     */
    private int dayProfitableCount;

    /**
     * 总失败天数
     */
    private int dayFailCount;
    /**
     * 最小kdj值
     */
    private int kdjMin;
    /**
     * 最大kdj值
     */
    private int kdjMax;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;
}